


class Animal:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def drink(self):
        print('drink.....')

    def eat(self):
        print('eat....')


class Dog(Animal):
    def __init__(self, name, weight):
        self.name = name
        self.weight = weight
    def eat(self):
        super().eat()
        print('eat bone')

    def jiao(self):
        print('wang wang wang ....')

class Cat(Animal):
    def jiao(self):
        print('miao miao miao')



d = Dog('chicken', 2, 20)
d.jiao()
d.eat()
d.drink()
# c = Cat()
# c.jiao()
# c.eat()
# c.drink()

